<template>
  <div>
    子组件的值:{{obj.show}}
    <button @click="obj.show=3">change value</button>
  </div>
</template>
<script>
export default {
  inject: ['obj']
}
</script>
